package com.itheima.employee.service;

import com.itheima.employee.pojo.EmployeeResignation;
import org.springframework.stereotype.Service;


/**
 * @author qiankaofei
 * @version 1.0
 * @date 2020/11/16 10:45
 */
@Service
public interface ResignationService {

   /**
    * 离职信息保存
    */
   Integer save(EmployeeResignation resignation);

   /**
    * 离职信息读取（根据userId读取离职信息）
    */
   EmployeeResignation findById(String userId) ;
}
